﻿using MgSoft.Import.Excel.Model;
using System.Collections.Generic;

namespace MgSoft.Import.Excel
{
    public interface IExcelController
    {
        /// <summary>
        /// 获取所有的Excel导入策略
        /// </summary>
        /// <returns></returns>
        List<ExcelTaskTypeInfo> GetAllExcelTaskType();
        /// <summary>
        /// 获取组件方案下所有的导入Excel的策略
        /// </summary>
        /// <param name="excelComponent"></param>
        /// <returns></returns>
        List<ExcelTaskTypeInfo> GetAllExcelTaskType(IExcelComponent excelComponent);
        IExcelComponent GetComponentByName(string componentName);
    }
}